gtk4.git
12 years agobroadway: Simplify frame handling and make it ARGB32
Alexander Larsson [Wed, 6 Nov 2013 11:54:37 +0000 (12:54 +0100)]
broadway: Simplify frame handling and make it ARGB32

This completely removes the delta compression and makes all buffers ARGB.
This is obviously slower, but this will be re-integrated later.

12 years agobroadway: Remove window translation code
Alexander Larsson [Wed, 6 Nov 2013 11:31:27 +0000 (12:31 +0100)]
broadway: Remove window translation code

This is no longer used as we neutered gdk_window_scroll & co.

12 years agowidget-factory: Update copyright in about dialog
Jasper St. Pierre [Wed, 6 Nov 2013 17:51:29 +0000 (12:51 -0500)]
widget-factory: Update copyright in about dialog

12 years agowidget-factory: Make the About dialog actually transient
Jasper St. Pierre [Wed, 6 Nov 2013 17:50:31 +0000 (12:50 -0500)]
widget-factory: Make the About dialog actually transient

It's an app action, not a window action.

12 years agoUse a big icon in the stack example
Matthias Clasen [Wed, 6 Nov 2013 02:47:29 +0000 (21:47 -0500)]
Use a big icon in the stack example

We used a 256x256 before. Keep doing that.

12 years agoUpdated POTFILES.skip
Piotr Drąg [Tue, 5 Nov 2013 23:18:56 +0000 (00:18 +0100)]
Updated POTFILES.skip

12 years agowidget-factory: use new icon instead of gtk logo
William Jon McCann [Tue, 5 Nov 2013 21:39:50 +0000 (16:39 -0500)]
widget-factory: use new icon instead of gtk logo

12 years agowidget-factory: add icon
William Jon McCann [Tue, 5 Nov 2013 21:32:30 +0000 (16:32 -0500)]
widget-factory: add icon

12 years agodemo: use the installed named icon
William Jon McCann [Tue, 5 Nov 2013 20:29:54 +0000 (15:29 -0500)]
demo: use the installed named icon

12 years agodemo: Add desktop file
William Jon McCann [Tue, 5 Nov 2013 15:20:49 +0000 (10:20 -0500)]
demo: Add desktop file

12 years agodemo: add icon
William Jon McCann [Tue, 5 Nov 2013 19:11:50 +0000 (14:11 -0500)]
demo: add icon

12 years agowidget-factory: add desktop file for widget factory
William Jon McCann [Tue, 5 Nov 2013 13:56:30 +0000 (08:56 -0500)]
widget-factory: add desktop file for widget factory

12 years agoRevert "broadway: Fix gcc warning"
Jasper St. Pierre [Tue, 5 Nov 2013 16:13:57 +0000 (11:13 -0500)]
Revert "broadway: Fix gcc warning"

This reverts commit f0d3d72574ff0282ecb3aa6311677def57cef8f5.

12 years agowidget-factory: port to GtkApplication and GtkHeaderBar
William Jon McCann [Mon, 4 Nov 2013 21:49:05 +0000 (16:49 -0500)]
widget-factory: port to GtkApplication and GtkHeaderBar

12 years agoDo not reset the waiting_for_printer on status change
Chenthill Palanisamy [Tue, 5 Nov 2013 12:30:33 +0000 (13:30 +0100)]
Do not reset the waiting_for_printer on status change

* gtk/gtkprintunixdialog.c (printer_status_cb): Do not reset the
waiting_for_printer on status change as the default printer might
get added later.

https://bugzilla.gnome.org/show_bug.cgi?id=577642

12 years agoFix accelerators
Khaled Hosny [Mon, 4 Nov 2013 22:58:43 +0000 (00:58 +0200)]
Fix accelerators

12 years agowidget-factory: Add a pulsing progress bar
William Jon McCann [Sat, 2 Nov 2013 20:13:33 +0000 (16:13 -0400)]
widget-factory: Add a pulsing progress bar

12 years agoUpdated Spanish translation
Daniel Mustieles [Mon, 4 Nov 2013 17:18:36 +0000 (18:18 +0100)]
Updated Spanish translation

12 years agoreftests: Add test for new :link and :visited
Benjamin Otte [Mon, 4 Nov 2013 15:34:16 +0000 (16:34 +0100)]
reftests: Add test for new :link and :visited

We cannot test visited links in GtkLabel, so we don't.

12 years agoGtkAboutDialog: Use :link and :visited for link colors
Timm Bäder [Tue, 8 Oct 2013 11:03:37 +0000 (13:03 +0200)]
GtkAboutDialog: Use :link and :visited for link colors

https://bugzilla.gnome.org/show_bug.cgi?id=709629

12 years agoGtkLinkButton: Use :link and :visited for the label's color
Timm Bäder [Tue, 8 Oct 2013 10:50:08 +0000 (12:50 +0200)]
GtkLinkButton: Use :link and :visited for the label's color

https://bugzilla.gnome.org/show_bug.cgi?id=709629

12 years agoGtkLabel: Use :visited and :link for link colors
Timm Bäder [Tue, 8 Oct 2013 10:44:44 +0000 (12:44 +0200)]
GtkLabel: Use :visited and :link for link colors

https://bugzilla.gnome.org/show_bug.cgi?id=709629

12 years agocss parser: Add :link and :visited
Timm Bäder [Tue, 8 Oct 2013 09:27:53 +0000 (11:27 +0200)]
css parser: Add :link and :visited

... which are both to be used for links instead of the current
-GtkWidget-link-color and -GtkWidget-visited-link-color

https://bugzilla.gnome.org/show_bug.cgi?id=709629

12 years agotests: Make testflowbox test not emit warnings
Benjamin Otte [Wed, 16 Oct 2013 13:40:40 +0000 (15:40 +0200)]
tests: Make testflowbox test not emit warnings

12 years agobroadway: Fix gcc warning
Benjamin Otte [Wed, 16 Oct 2013 12:42:35 +0000 (14:42 +0200)]
broadway: Fix gcc warning

12 years agoUpdated Greek translation
Dimitris Spingos [Mon, 4 Nov 2013 08:00:45 +0000 (10:00 +0200)]
Updated Greek translation

12 years agobuild: correctly require gio-unix with broadway
Manuel Bachmann [Mon, 4 Nov 2013 06:10:36 +0000 (07:10 +0100)]
build: correctly require gio-unix with broadway

12 years agoGtkEntryCompletion: fix warning
Lars Uebernickel [Sun, 3 Nov 2013 18:08:41 +0000 (19:08 +0100)]
GtkEntryCompletion: fix warning

12 years agogtk_entry_completion_get_cells: revert returning NULL
Lars Uebernickel [Sun, 3 Nov 2013 18:02:01 +0000 (19:02 +0100)]
gtk_entry_completion_get_cells: revert returning NULL

Too many applications and libraries depend on accessing the internally
created cell renderer. Allow that again, but print a warning.

12 years agogtktextattributes: Use an anonymous union instead of arch-testing #ifdef
Colin Walters [Wed, 30 Oct 2013 15:26:48 +0000 (11:26 -0400)]
gtktextattributes: Use an anonymous union instead of arch-testing #ifdef

This avoids having Gtk-3.0.gir differ on 32 vs 64 bit, which causes
issues for "multilib" in Fedora/OpenSUSE type systems.

See https://bugzilla.gnome.org/show_bug.cgi?id=711153 for more
information.

https://bugzilla.gnome.org/show_bug.cgi?id=711158

12 years agoeventbox: also draw css borders if specified
Paolo Borelli [Sat, 2 Nov 2013 11:18:25 +0000 (12:18 +0100)]
eventbox: also draw css borders if specified

https://bugzilla.gnome.org/show_bug.cgi?id=711324

12 years agogrid: draw css background and borders
Paolo Borelli [Sat, 2 Nov 2013 11:21:51 +0000 (12:21 +0100)]
grid: draw css background and borders

https://bugzilla.gnome.org/show_bug.cgi?id=711324

12 years agofixed: draw css background and borders
Paolo Borelli [Sat, 2 Nov 2013 11:21:30 +0000 (12:21 +0100)]
fixed: draw css background and borders

https://bugzilla.gnome.org/show_bug.cgi?id=711324

12 years agoGtkEntryCompletion: call cell_area()->clear()
Lars Uebernickel [Sun, 3 Nov 2013 13:05:44 +0000 (14:05 +0100)]
GtkEntryCompletion: call cell_area()->clear()

Call gtk_cell_layout_clear() on the area instead of the completion in
gtk_entry_completion_clear_text_column_renderer(), because it is also
called from within gtk_entry_completion_clear().

12 years agogtk_entry_completion_set_text_column: reuse old renderer
Lars Uebernickel [Sat, 2 Nov 2013 13:22:33 +0000 (14:22 +0100)]
gtk_entry_completion_set_text_column: reuse old renderer

gtk_entry_completion_set_text_column() always added a cell renderer,
regardless of whether there was an existing one already installed.  This
patch reuses an old renderer if it exists, but only if it was added by a
previous call to this function.

To avoid conflicts, all renderers that were added manually are removed
when calling this function. Also, the renderer added by this function is
removed when manually adding new renderers. This effectively gives
GtkEntryCompletion two modes (managed and manual cell renderers) and
allows seamless switching between the two.

This is a minor API break. However, this shouldn't be an issue in
practice as applications couldn't call set_text_column() more than once
because of this bug. Also, it is unlikely that many applications mix
set_text_column() and custom cell renderers. The interaction between the
two modes was erratic and not documented well.

https://bugzilla.gnome.org/show_bug.cgi?id=635499

12 years agoFix "make install"
Paolo Borelli [Sat, 2 Nov 2013 11:15:34 +0000 (12:15 +0100)]
Fix "make install"

These files were listed twice

12 years agoreftests: Add missing reftests to the test runner
Jasper St. Pierre [Fri, 1 Nov 2013 20:51:31 +0000 (16:51 -0400)]
reftests: Add missing reftests to the test runner

12 years agogtksettings: Allow setting the GTK+ theme with an envvar
Jasper St. Pierre [Fri, 1 Nov 2013 20:03:56 +0000 (16:03 -0400)]
gtksettings: Allow setting the GTK+ theme with an envvar

To test with Raleigh much easier.

12 years agoframe: Remove a couple strange casts...
Jasper St. Pierre [Fri, 1 Nov 2013 18:12:37 +0000 (14:12 -0400)]
frame: Remove a couple strange casts...

12 years agoWin32 : fixes Bug 679019 (Popup menu misplaced in dual monitor)
Manuel Bachmann [Fri, 1 Nov 2013 16:59:05 +0000 (17:59 +0100)]
Win32 : fixes Bug 679019 (Popup menu misplaced in dual monitor)

12 years agoGtkEntryCompletion: call setter for "text-column"
Lars Uebernickel [Thu, 31 Oct 2013 06:34:50 +0000 (23:34 -0700)]
GtkEntryCompletion: call setter for "text-column"

Call gtk_entry_completion_set_text_column() when setting the
"text-column" property directly.

The completion appeared empty when setting "text-column" directly (for
example from a GtkBuilder file), because the setter creates and adds the
GtkCellRendererText.

https://bugzilla.gnome.org/show_bug.cgi?id=710533

12 years agostack: Fix the slide animation if the child has a non-zero allocation position
Jasper St. Pierre [Fri, 1 Nov 2013 05:51:27 +0000 (01:51 -0400)]
stack: Fix the slide animation if the child has a non-zero allocation position

This can happen if the child has a margin, for instance.

12 years agostack: Scope some variables so that the code is clearer
Jasper St. Pierre [Fri, 1 Nov 2013 05:49:29 +0000 (01:49 -0400)]
stack: Scope some variables so that the code is clearer

... that the allocation magic here is for the transition of the
last visible child that's sliding out.

12 years agogtkoverlay: Remove get_preferred_width / get_preferred_height implementation
Jasper St. Pierre [Thu, 31 Oct 2013 20:20:02 +0000 (16:20 -0400)]
gtkoverlay: Remove get_preferred_width / get_preferred_height implementation

GtkBin now handles this for us.

12 years agoWin32: Honor the geometry when GDK_HINT_MAX_SIZE is set.
Cody Russell [Thu, 31 Oct 2013 20:54:28 +0000 (15:54 -0500)]
Win32: Honor the geometry when GDK_HINT_MAX_SIZE is set.

The MINMAXINFO struct was being populated based upon geometry hints when
GDK_HINT_MAX_SIZE flag was enabled, then promptly having its values blown
away with default values.

https://bugzilla.gnome.org/show_bug.cgi?id=711110

12 years agogtkbox: Draw backgrounds and borders
Jasper St. Pierre [Thu, 31 Oct 2013 16:18:59 +0000 (12:18 -0400)]
gtkbox: Draw backgrounds and borders

12 years agobroadway-server: Fix signedness issue
Jasper St. Pierre [Thu, 31 Oct 2013 16:19:59 +0000 (12:19 -0400)]
broadway-server: Fix signedness issue

12 years agoBroadway : Replaced be32toh() with win32-compatible ntohl()
Manuel Bachmann [Wed, 30 Oct 2013 23:43:58 +0000 (00:43 +0100)]
Broadway : Replaced be32toh() with win32-compatible ntohl()

12 years agoMake treeview cursor handling a bit more robust
Matthias Clasen [Wed, 30 Oct 2013 17:57:33 +0000 (13:57 -0400)]
Make treeview cursor handling a bit more robust

Clearing the model in a GtkTreeSelection::changed handler was
crashing. While it is not a 100% kosher thing to do, lets be
more robust here.

12 years agoRevert "wayland: Support always-on-top / sticky windows"
Jasper St. Pierre [Tue, 29 Oct 2013 21:13:03 +0000 (17:13 -0400)]
Revert "wayland: Support always-on-top / sticky windows"

This reverts commit b3cffb85f39183a83a99e7517191e46bcd744749.

Pushed by accident.

12 years agoUse g_return_val_if_fail where return value needed.
Daniel Svensson [Sun, 27 Oct 2013 21:36:32 +0000 (22:36 +0100)]
Use g_return_val_if_fail where return value needed.

https://bugzilla.gnome.org/show_bug.cgi?id=710987

12 years agowayland: Support always-on-top / sticky windows
Jasper St. Pierre [Wed, 9 Oct 2013 20:55:55 +0000 (16:55 -0400)]
wayland: Support always-on-top / sticky windows

Use the new gtk-shell APIs available in mutter to add support for this.

https://bugzilla.gnome.org/show_bug.cgi?id=710056

12 years agowayland: Always attach null surfaces on hide
Jasper St. Pierre [Mon, 16 Sep 2013 22:39:55 +0000 (18:39 -0400)]
wayland: Always attach null surfaces on hide

Destroying the surface isn't really appropriate, as the GtkWindow
is still realized and we won't necessarily know how to reconstruct it.

12 years agowayland: Remove a useless else-if
Jasper St. Pierre [Mon, 16 Sep 2013 22:38:48 +0000 (18:38 -0400)]
wayland: Remove a useless else-if

We already check for impl->surface as the first branch we do.

12 years agowayland: Make the code here a bit clearer
Jasper St. Pierre [Mon, 16 Sep 2013 22:38:15 +0000 (18:38 -0400)]
wayland: Make the code here a bit clearer

By grouping the destroy and field clear together.

12 years agowayland: Ensure we keep our internal state when hiding a window with no surface
Jasper St. Pierre [Mon, 16 Sep 2013 22:36:18 +0000 (18:36 -0400)]
wayland: Ensure we keep our internal state when hiding a window with no surface

We need to keep track of the mapped variable here.

12 years agogtkdialog: Allow specifying response IDs by nick in <action-widgets>
Jasper St. Pierre [Mon, 28 Oct 2013 15:19:43 +0000 (11:19 -0400)]
gtkdialog: Allow specifying response IDs by nick in <action-widgets>

This makes it a lot more convenient for developers, as they don't
have to look up the numeric value of response IDs.

12 years agoBump version
Matthias Clasen [Mon, 28 Oct 2013 13:12:46 +0000 (09:12 -0400)]
Bump version

12 years agoFix up accessibility tests
Matthias Clasen [Mon, 28 Oct 2013 11:20:11 +0000 (07:20 -0400)]
Fix up accessibility tests

The output had gotten debug spew in it.

12 years agoUpdate the release notes
Matthias Clasen [Mon, 28 Oct 2013 11:17:16 +0000 (07:17 -0400)]
Update the release notes

12 years agoRemove debug spew
Matthias Clasen [Mon, 28 Oct 2013 11:16:30 +0000 (07:16 -0400)]
Remove debug spew

12 years agoGtkWidget: Fix clipping to large subwindows
Alexander Larsson [Mon, 28 Oct 2013 10:32:51 +0000 (11:32 +0100)]
GtkWidget: Fix clipping to large subwindows

_gtk_widget_draw_internal() was clipping by passing the subwindow
sizes as a path to cairo_clip(). This was breaking for windows
larger than 23 bits in width/height, due to cairo using fixed point
(24.8) for the path coordinates.

We fix this by pre-clipping the subwindow region to the existing
cairo clip region in the full 32bit gdkwindow precision. This fixes
the GooCanvas Large Items test.

https://bugzilla.gnome.org/show_bug.cgi?id=710958

12 years agoUpdates
Matthias Clasen [Mon, 28 Oct 2013 10:44:33 +0000 (06:44 -0400)]
Updates

12 years agoRevert "dialog: Fix docs for GtkDialog"
Matthias Clasen [Mon, 28 Oct 2013 10:39:21 +0000 (06:39 -0400)]
Revert "dialog: Fix docs for GtkDialog"

This reverts commit e4bb02f8ae698facc204c616108cc8f4c3b579bc.

Responses don't have to be negative.

12 years agoUpdate expected results for some a11y tests
Matthias Clasen [Fri, 25 Oct 2013 20:39:49 +0000 (16:39 -0400)]
Update expected results for some a11y tests

These are affected by recent changes to stock icons (adding
accessible names) and spinner sizing.

12 years agoRespect deprecated button images setting
Matthias Clasen [Fri, 25 Oct 2013 00:35:55 +0000 (20:35 -0400)]
Respect deprecated button images setting

I have been convinced that it is a bad idea to change the behaviour
at the same time as deprecating it, so go back to respecting the
Gtk/ButtonImages xsetting in buttons created with
gtk_button_new_from_stock() when it is set.

The setting as well as the function are still deprecated, and the
default value of the setting will remain FALSE.

12 years agoRespect deprecated menu images setting
Matthias Clasen [Fri, 25 Oct 2013 00:03:02 +0000 (20:03 -0400)]
Respect deprecated menu images setting

I have been convinced that it is a bad idea to change the behaviour
at the same time as deprecating it, so go back to respecting the
Gtk/MenuImages xsetting in GtkImageMenuItem when it is set.

The setting as well as the widget are still deprecated, and the
default value of the setting will remain FALSE.

12 years agoFix key "Page_Down" identified as "Next"
Olivier Brunel [Thu, 17 Oct 2013 18:19:21 +0000 (20:19 +0200)]
Fix key "Page_Down" identified as "Next"

Since 49c4ad2f the order between "Page_Down" & "Next" had been changed (due to
sorting) and this resulted in the Page Down key being identified as "Next"
instead of "Page_Down"

"Page_Up" wasn't affected, since it comes before "Prior"

Signed-off-by: Olivier Brunel <jjk@jjacky.com>
https://bugzilla.gnome.org/show_bug.cgi?id=710411

12 years agoRevert "GtkPlacesSidebar: support switching locations for XDS drag types"
Matthias Clasen [Wed, 23 Oct 2013 19:55:14 +0000 (15:55 -0400)]
Revert "GtkPlacesSidebar: support switching locations for XDS drag types"

This reverts commit 588ffa8c3241eff2f8e2d99b911a6bcb539347bd.

12 years agoRevert "GtkPlacesSidebar: support open locations when dragging text"
Matthias Clasen [Wed, 23 Oct 2013 19:54:52 +0000 (15:54 -0400)]
Revert "GtkPlacesSidebar: support open locations when dragging text"

This reverts commit 1b839d4b72a2cedb2bb633b5acd57239860693f4.

12 years agoRevert "GtkPlacesSidebar: use gtk api to add dnd uri targets"
Matthias Clasen [Wed, 23 Oct 2013 19:54:44 +0000 (15:54 -0400)]
Revert "GtkPlacesSidebar: use gtk api to add dnd uri targets"

This reverts commit 7fa27dff259ad79d5a4364d7eaa6b63150082af3.

12 years agoGtkPlacesSidebar: use gtk api to add dnd uri targets
Nelson Benítez León [Sat, 7 Sep 2013 11:15:01 +0000 (13:15 +0200)]
GtkPlacesSidebar: use gtk api to add dnd uri targets

Instead of hardcoding it in the dnd drop targets list.

Part of bug 707679

12 years agoGtkPlacesSidebar: support open locations when dragging text
Nelson Benítez León [Sat, 7 Sep 2013 11:09:47 +0000 (13:09 +0200)]
GtkPlacesSidebar: support open locations when dragging text

Make GtkPlacesSidebar also open locations when hovered by
text dnd targets.

Part of bug 707679

12 years agoGtkPlacesSidebar: support switching locations for XDS drag types
Nelson Benítez León [Sat, 7 Sep 2013 09:01:33 +0000 (11:01 +0200)]
GtkPlacesSidebar: support switching locations for XDS drag types

Make GtkPlacesSidebar also change locations when hovered
by XDS dnd targets (eg. dragging a file from file-roller).

Part of bug 707679

12 years agodialog: Fix docs for GtkDialog
Jasper St. Pierre [Wed, 23 Oct 2013 16:03:55 +0000 (12:03 -0400)]
dialog: Fix docs for GtkDialog

Responses need to be negative

12 years agoGtkScrolledWindow: Disconnect from frame clock properly
Bastien Nocera [Tue, 22 Oct 2013 16:45:00 +0000 (18:45 +0200)]
GtkScrolledWindow: Disconnect from frame clock properly

The tick callback IDs from GtkWidget aren't timeouts, so
use the correct function to disconnect from them.

Spotted by Benjamin Otte <otte@redhat.com>

https://bugzilla.gnome.org/show_bug.cgi?id=710666

12 years agoGtkWidget: Avoid lingering clock frame updates
Bastien Nocera [Tue, 22 Oct 2013 16:42:01 +0000 (18:42 +0200)]
GtkWidget: Avoid lingering clock frame updates

For some widgets, like GtkTreeView, which setup a clock frame
update during realize, it was possible to call
gdk_frame_clock_begin_updating() twice, but only ever disconnecting
from it once. This happens because the realized flag is set at an
unpredictable time by the GtkWidget's realize implementation.

Keep the signal handler ID from us connecting to the "update" signal
to avoid connecting to it twice.

This fixes high wake-up count from any application using GtkTreeView,
even idle ones.

https://bugzilla.gnome.org/show_bug.cgi?id=710666

12 years agoall: Add names to timeouts
Bastien Nocera [Tue, 22 Oct 2013 13:43:43 +0000 (15:43 +0200)]
all: Add names to timeouts

Add names to every timeout we setup, so it's easier to track their
usage, and debug possible misbehaviour.

https://bugzilla.gnome.org/show_bug.cgi?id=710651

12 years agoFix a typo
Matthias Clasen [Wed, 23 Oct 2013 10:27:09 +0000 (06:27 -0400)]
Fix a typo

12 years agoAdd missing symbol to docs
Jasper St. Pierre [Tue, 22 Oct 2013 18:56:12 +0000 (14:56 -0400)]
Add missing symbol to docs

12 years agoBump GLib req to 2.39
Matthias Clasen [Tue, 22 Oct 2013 11:37:46 +0000 (07:37 -0400)]
Bump GLib req to 2.39

Needed for GNotification.

12 years agoAdd some (silly) GNotification example
Matthias Clasen [Mon, 21 Oct 2013 21:23:44 +0000 (17:23 -0400)]
Add some (silly) GNotification example

Bloatpad can now notify you.

12 years agogdkwindow-x11: Don't set WM_TAKE_FOCUS if accept_focus is FALSE
Jasper St. Pierre [Thu, 17 Oct 2013 02:17:16 +0000 (22:17 -0400)]
gdkwindow-x11: Don't set WM_TAKE_FOCUS if accept_focus is FALSE

Otherwise, we'll be in the "Globally Active" mode instead of the
"No Input" mode.

https://bugzilla.gnome.org/show_bug.cgi?id=710389

12 years agoIcon theme: Hardcode fallback through the 'gnome' icon theme
Matthias Clasen [Mon, 21 Oct 2013 16:58:29 +0000 (12:58 -0400)]
Icon theme: Hardcode fallback through the 'gnome' icon theme

This is what we used to get through the Net/FallbackIcontheme
setting. Nobody has ever set this setting to a different value,
and people have come to rely on GTK+ applications getting their
icons this way.

12 years agoflowbox: Always return a NULL iter when we are at the end
Debarshi Ray [Mon, 21 Oct 2013 14:32:49 +0000 (16:32 +0200)]
flowbox: Always return a NULL iter when we are at the end

The objective is simplify the semantics of the code so that we don't
need to check for "(iter != NULL && !g_sequence_iter_is_end (iter))"
in the callers.

12 years agoflowbox: Be careful when the container is empty
Debarshi Ray [Mon, 21 Oct 2013 14:21:11 +0000 (16:21 +0200)]
flowbox: Be careful when the container is empty

Otherwise, showing an empty GtkFlowBox will lead to:
GLib-CRITICAL **: g_sequence_get: assertion '!is_end (iter)' failed

12 years agogtktoolbar: Make the icon-size property actually an enum
Jasper St. Pierre [Fri, 18 Oct 2013 20:12:58 +0000 (16:12 -0400)]
gtktoolbar: Make the icon-size property actually an enum

As this is what it's interpreted as.

12 years agoUpdated Russian translation
Stas Solovey [Fri, 18 Oct 2013 14:23:16 +0000 (18:23 +0400)]
Updated Russian translation

12 years agostackswitcher: Only show a button if the stack child is visible
Jasper St. Pierre [Thu, 17 Oct 2013 20:05:05 +0000 (16:05 -0400)]
stackswitcher: Only show a button if the stack child is visible

12 years agogtkflowbox: Fix warning when realizing
Jasper St. Pierre [Thu, 17 Oct 2013 19:12:58 +0000 (15:12 -0400)]
gtkflowbox: Fix warning when realizing

set_background needs the widget's window to be set.

12 years agoAdd docs for new API
Matthias Clasen [Thu, 17 Oct 2013 03:35:55 +0000 (23:35 -0400)]
Add docs for new API

12 years agoAdd new symbols to the docs
Matthias Clasen [Thu, 17 Oct 2013 03:16:11 +0000 (23:16 -0400)]
Add new symbols to the docs

12 years agoAdd an index for symbols added in 3.12
Matthias Clasen [Thu, 17 Oct 2013 03:14:57 +0000 (23:14 -0400)]
Add an index for symbols added in 3.12

12 years agoFix since tags
Matthias Clasen [Thu, 17 Oct 2013 03:14:07 +0000 (23:14 -0400)]
Fix since tags

Mark 3.12 api as such.

12 years agonotebook: inform the theme whether show-borders was set
William Jon McCann [Wed, 16 Oct 2013 16:03:33 +0000 (12:03 -0400)]
notebook: inform the theme whether show-borders was set

So that it can draw a border or not. If show-borders=true then
the notebook will have GTK_STYLE_CLASS_FRAME.

12 years agoRemove superfluous g_file_test()
Timothy Arceri [Fri, 4 Oct 2013 11:47:03 +0000 (21:47 +1000)]
Remove superfluous g_file_test()

https://bugzilla.gnome.org/show_bug.cgi?id=168530
Signed-off-by: Timothy Arceri <t_arceri@yahoo.com.au>
12 years agoFix GtkToolButton possibly being empty
Olivier Brunel [Mon, 14 Oct 2013 18:08:30 +0000 (20:08 +0200)]
Fix GtkToolButton possibly being empty

With style BOTH_HORIZ the label would not be selected (if not marked
"important") and when there's no icon, it would result in an empty button.

Signed-off-by: Olivier Brunel <jjk@jjacky.com>
https://bugzilla.gnome.org/show_bug.cgi?id=710134

12 years agoGtkBuilder: Fall back to gtk_test_register_all_types if type lookup fails
Alexander Larsson [Mon, 14 Oct 2013 14:05:08 +0000 (16:05 +0200)]
GtkBuilder: Fall back to gtk_test_register_all_types if type lookup fails

This is important because the dlsym() approach can fail if gtk was
loaded with RTLD_LOCAL.

https://bugzilla.gnome.org/show_bug.cgi?id=710096

12 years agogdkevents.h: Mention _get_source_device()
Bastien Nocera [Tue, 8 Oct 2013 09:44:37 +0000 (11:44 +0200)]
gdkevents.h: Mention _get_source_device()

It's too easy getting bitten by the ->device red herring, thinking
that it's the original input device the event originated from.

https://bugzilla.gnome.org/show_bug.cgi?id=709621

12 years agoFix an oversight
Matthias Clasen [Wed, 16 Oct 2013 01:29:06 +0000 (21:29 -0400)]
Fix an oversight

Followup for 3c41d4865e230f41a3f4cb5f72e438a0788c7bb3